package com.jinxin.platform.cdacsrecord.core.pojo.domains;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;

import java.time.LocalDateTime;

/**
 * <b>[juren_acs_open_record]数据持久化对象</b>
 * <p>
 * 注意:此文件自动生成-禁止手工修改。
 * </p>
 * 
 * @author @blue
 * @date 2020-08-28
 */
public class JurenAcsOpenRecord{

	/**
	 * 开门记录id
	 */
	private String odId;
	
	/**
	 * 门禁设备名称
	 */
	private String gateLocakName;
	
	/**
	 * 开门用户Id
	 */
	private String wyUserId;

	/**
	 * 开门用户
	 */
	private String wyUserName;
	
	/**
	 * 用户类型11业主12家庭成员13租客
	 */
	private Integer wyUserType;
	
	/**
	 * 开门类型1：APP；2：刷卡；3：密码；4：视屏；6：电话；7：室内机；8：人脸识别
	 */
	private Integer openType;
	
	/**
	 * 开门时间
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
//	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@JsonSerialize(using = LocalDateTimeSerializer.class)
	private LocalDateTime createTime;
	
	/**
	 * 开门图片
	 */
	private String completePicUrl;
	
	/**
	 * 辅助摄像头开门图片
	 */
	private String completeAssistantPicUrl;
	
	/**
	 * 楼栋id
	 */
	private String areaId;
	/**
	 * 小区id
	 */
	private String companyId;

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	/**
	 * 开门记录id
	 * 
	 * @return odId
	 */
	public String getOdId() {
		return odId;
	}
	
	/**
	 * 门禁设备名称
	 * 
	 * @return gateLocakName
	 */
	public String getGateLocakName() {
		return gateLocakName;
	}
	
	/**
	 * 开门用户
	 * 
	 * @return wyUserName
	 */
	public String getWyUserName() {
		return wyUserName;
	}
	
	/**
	 * 用户类型11业主12家庭成员13租客
	 * 
	 * @return wyUserType
	 */
	public Integer getWyUserType() {
		return wyUserType;
	}
	
	/**
	 * 开门类型1：APP；2：刷卡；3：密码；4：视屏；6：电话；7：室内机；8：人脸识别
	 * 
	 * @return openType
	 */
	public Integer getOpenType() {
		return openType;
	}
	
	/**
	 * 开门时间
	 * 
	 * @return createTime
	 */
	public LocalDateTime getCreateTime() {
		return createTime;
	}
	
	/**
	 * 开门图片
	 * 
	 * @return completePicUrl
	 */
	public String getCompletePicUrl() {
		return completePicUrl;
	}
	
	/**
	 * 辅助摄像头开门图片
	 * 
	 * @return completeAssistantPicUrl
	 */
	public String getCompleteAssistantPicUrl() {
		return completeAssistantPicUrl;
	}
	
	/**
	 * 楼栋id
	 * 
	 * @return areaId
	 */
	public String getAreaId() {
		return areaId;
	}
	

	/**
	 * 开门记录id
	 * 
	 * @param odId
	 */
	public void setOdId(String odId) {
		this.odId = odId;
	}
	
	/**
	 * 门禁设备名称
	 * 
	 * @param gateLocakName
	 */
	public void setGateLocakName(String gateLocakName) {
		this.gateLocakName = gateLocakName;
	}
	
	/**
	 * 开门用户
	 * 
	 * @param wyUserName
	 */
	public void setWyUserName(String wyUserName) {
		this.wyUserName = wyUserName;
	}
	
	/**
	 * 用户类型11业主12家庭成员13租客
	 * 
	 * @param wyUserType
	 */
	public void setWyUserType(Integer wyUserType) {
		this.wyUserType = wyUserType;
	}
	
	/**
	 * 开门类型1：APP；2：刷卡；3：密码；4：视屏；6：电话；7：室内机；8：人脸识别
	 * 
	 * @param openType
	 */
	public void setOpenType(Integer openType) {
		this.openType = openType;
	}
	
	/**
	 * 开门时间
	 * 
	 * @param createTime
	 */
	public void setCreateTime(LocalDateTime createTime) {
		this.createTime = createTime;
	}
	
	/**
	 * 开门图片
	 * 
	 * @param completePicUrl
	 */
	public void setCompletePicUrl(String completePicUrl) {
		this.completePicUrl = completePicUrl;
	}
	
	/**
	 * 辅助摄像头开门图片
	 * 
	 * @param completeAssistantPicUrl
	 */
	public void setCompleteAssistantPicUrl(String completeAssistantPicUrl) {
		this.completeAssistantPicUrl = completeAssistantPicUrl;
	}
	
	/**
	 * 楼栋id
	 * 
	 * @param areaId
	 */
	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}

	public String getWyUserId() {
		return wyUserId;
	}

	public void setWyUserId(String wyUserId) {
		this.wyUserId = wyUserId;
	}
}